extends "../calxhx_2_1/calxhx_2_1.gd"
func _init():
	pass
func _extInit():
	._extInit()
	chaName = "烈焰鸟" 
	lv = 4
	addSkillTxt("[color=#FFFF00][乱舞八重击][/color]:[color=#FFCC22]乱舞火焰席卷攻击敌方单体8次，每次造成100%的火系物理伤害，但巨大的乱舞攻击会使自身<混乱>8秒！[CD:17][/color]")
	addCdSkill("bcj",17)

func _castCdSkill(id):
	._castCdSkill(id)
	if id == "bcj":
		for i in range(8):
			var eff = sys.newEff("numHit", position, false, 1)
			eff.setText("乱舞八重击", "#FF0099")
			eff.anim.set_speed_scale(0.2)
			typeHurtCha(aiCha,att.atk*1,Chara.HurtType.PHY,Chara.AtkType.SKILL)
			addBuff(bf.hunluan.new(8))